/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: CNN 969682281@qq.com
 * @LastEditTime: 2023-09-11 15:40:09
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

export default {
    formObj: [{
        input: true, //是input
        label: "配方编号", //字段
        prop: "fRecipenumber", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '配方编号不能为空'
        }]
    },

    {
        input: true, //是input
        label: "配方名称", //字段
        prop: "fRecipename", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '配方名称不能为空'
        }]
    },
    {
        selects: true, //是input
        label: "混合料类型", //字段
        prop: "fMixturetype", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        options: [],
        rules: [{
            required: true,
            message: '请选择混合料类型'
        }] //验证
    },
    //  "": null,// 
    {
        input: true, //是input
        // label: "沥青标号/改性沥青品种", //字段
        label: "执行标准", //字段

        prop: "fStandard", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '执行标准不能为空'
        }]

    },
    {
        selects: true, //是input
        // label: "沥青标号/改性沥青品种", //字段
        label: "沥青标号", //字段
        options: [],
        prop: "fPitchnum", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '沥青标号/改性沥青品种不能为空'
        }]

    },


    {
        selects: true, //是input
        label: "施工部位", //字段
        prop: "fSurfacecourse", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        options: [{
            value: '上面层',
            label: '上面层'
        }, {
            value: '中面层',
            label: '中面层'
        }, {
            value: '下面层',
            label: '下面层'
        }],
        rules: [{
            required: true,
            message: '请选择施工部位'
        }] //验证
    },
    {
        dateTime: true, //是input
        label: "启用时间", //字段
        prop: "fStartdates", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '请选择启动时间'
        }] //验证
    },


    {

        label: "附件", //字段
        prop: "fStatus", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        upload: true,
        uploadSelect: true,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
        rules: [{
            required: false,
            message: '请选择启动时间'
        }] //验证
    },
    {
        textarea: true, //是input
        label: "描述", //字段
        prop: "fRecipedescription", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: false,
            message: '描述不能为空'
        }]

    },
    ],
    OilStoneRate: [{
        input: true, //是input
        label: "目标", //字段
        prop: "fAsphaltaggregateratiogoalvalue", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '目标不能为空'
        }]
    },
        // {
        //     input: true, //是input
        //     label: "上限", //字段
        //     prop: "fAsphaltaggregateratioupper", //字段名
        //     width: 8, //参考el-col
        //     disabled: false, //是否禁用
        //     rules: [{
        //         required: true,
        //         message: '上限不能为空'
        //     }]
        // },
        // {
        //     input: true, //是input
        //     label: "下限", //字段
        //     prop: "fAsphaltaggregateratiolower", //字段名
        //     // 
        //     width: 8, //参考el-col
        //     disabled: false, //是否禁用
        //     rules: [{
        //         required: true,
        //         message: '下限不能为空'
        //     }]
        // },
    ],
    temperature: [{
        input: true, //是input
        label: "上限", //字段
        prop: "fTemperatureupper", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '上限不能为空'
        }]
    },
    {
        input: true, //是input
        label: "下限", //字段
        prop: "fTemperaturelower", //字段名
        width: 12, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '下限不能为空'
        }]
    },
    ],
    mixingTime: [{
        input: true, //是input
        label: "拌合时长(s)", //字段
        prop: "fMixduration", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '拌合时长不能为空'
        }]
    }
    ],
    mixProportion: [{
        input: true, //是input
        label: "1#仓碎石(%)", //字段
        prop: "fAggregate1value", //字段名
        width: 8, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '1#仓碎石不能为空'
        }]
    },
    {
        input: true, //是input
        label: "2#仓碎石(%)", //字段
        prop: "fAggregate2value", //字段名
        width: 8, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '2#仓碎石不能为空'
        }]
    },
    {
        input: true, //是input
        label: "3#仓碎石(%)", //字段
        prop: "fAggregate3value", //字段名
        width: 8, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '3#仓碎石不能为空'
        }]
    },
    {
        input: true, //是input
        label: "4#仓碎石(%)", //字段
        prop: "fAggregate4value", //字段名
        width: 8, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '4#仓碎石不能为空'
        }]
    },
    {
        input: true, //是input
        label: "5#仓碎石(%)", //字段
        prop: "fAggregate5value", //字段名
        width: 8, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '5#仓碎石不能为空'
        }]
    },
    {
        input: true, //是input
        label: "6#仓碎石(%)", //字段
        prop: "fAggregate6value", //字段名
        width: 8, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '6#仓碎石不能为空'
        }]
    },
    {
        input: true, //是input
        label: "粉料1(%)", //字段
        prop: "fPowder1value", //字段名
        width: 8, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '粉料1不能为空'
        }]
    },
    {
        input: true, //是input
        label: "粉料2(%)", //字段
        prop: "fPowder2value", //字段名
        width: 8, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '粉料2不能为空'
        }]
    },
    {
        input: true, //是input
        label: "总粉料(%)", //字段
        prop: "fPowder3value", //字段名
        width: 8, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '总粉料不能为空'
        }]
    },
    {
        input: true, //是input
        label: "沥青", //字段
        prop: "fCementvalue", //字段名
        width: 24, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '沥青不能为空'
        }]
    },

    ],
   
    //施工层位
    sgcDataList: [{
        fItemName: "施工层位",
        fItemValue: ""
    }, {
        fItemName: "上面层",
        fItemValue: "上面层"
    }, {
        fItemName: "中面层",
        fItemValue: "中面层"
    }, {
        fItemName: "下面层",
        fItemValue: "下面层"
    }],
    //误差监控--二级审核
    // formObj: [{

    //         input: true, //是input
    //         label: "执行标准", //字段
    //         prop: "fStandard", //字段名
    //         width: 24, //参考el-col
    //         disabled: false, //是否禁用
    //         rules: [{
    //             required: true,
    //             message: '执行标准不能为空'
    //         }] //验证
    //     },
    //     {
    //         input: true, //是input
    //         label: "配合比编号", //字段
    //         prop: "fRecipenumber", //字段名
    //         width: 12, //参考el-col
    //         disabled: false, //是否禁用
    //         rules: [{
    //             required: true,
    //             message: '配合比编号不能为空'
    //         }] //验证
    //     },
    //     {
    //         input: true, //是input
    //         label: "油石比", //字段
    //         prop: "fAsphaltaggregateratiogoalvalue", //字段名
    //         width: 12, //参考el-col
    //         disabled: false, //是否禁用
    //         rules: [{
    //             required: true,
    //             message: '油石比不能为空'
    //         }] //验证
    //     },
    //     {
    //         input: true, //是input
    //         label: "沥青标号/改性沥青品种", //字段
    //         prop: "fPitchnum", //字段名
    //         width: 12, //参考el-col
    //         disabled: false, //是否禁用
    //         rules: [{
    //             required: true,
    //             message: '沥青标号/改性沥青品种不能为空'
    //         }] //验证
    //     },
    //     {
    //         input: true, //是input
    //         label: "级配类型", //字段
    //         prop: "fJptype", //字段名
    //         width: 12, //参考el-col
    //         disabled: false, //是否禁用
    //         rules: [{
    //             required: true,
    //             message: '级配类型不能为空'
    //         }] //验证
    //     },
    //     {
    //         input: true, //是input
    //         label: "混合料类型", //字段
    //         prop: "fMixturetype", //字段名
    //         width: 12, //参考el-col
    //         disabled: false, //是否禁用
    //         rules: [{
    //             required: true,
    //             message: '混合料类型不能为空'
    //         }] //验证
    //     },
    //     {
    //         dateTime: true, //是input
    //         label: "启用时间", //字段
    //         prop: "fStartdates", //字段名
    //         width: 12, //参考el-col
    //         disabled: false, //是否禁用
    //         rules: [{
    //             required: true,
    //             message: '请选择启动时间'
    //         }] //验证
    //     },


    // ],


    // 列表配置项
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [{
            label: '配合比编号',
            prop: 'fRecipenumber',
            minWidth: '150px',
            align: "center"

        },
        {
            label: '执行标准',
            prop: 'fStandard',
            minWidth: '150px',
            align: "center"

        },
        {
            label: '油石比(%)',
            prop: 'fAsphaltaggregateratiogoalvalue',
            minWidth: '150px',
            align: "center"

        },
        {
            label: '沥青标号',
            prop: 'fPitchnum',
            minWidth: '150px',
            align: "center"

        },
        {
            label: '施工部位',
            prop: 'fSurfacecourse',
            minWidth: '130px',
            align: "center"
        },
        {
            label: '混合料类型',
            prop: 'fMixturetype',
            minWidth: '130px',
            align: "center"
        },

        {
            label: '启动日期',
            prop: 'fStartdates',
            minWidth: '150px',
            align: "center"
        },
            // {
            //     label: '拌合站名称', prop: 'F_StationName', minWidth: '120px',
            //     align: "center"
            // },
            // {
            //     label: '拌合站', prop: 'F_StationId', minWidth: '120px',
            //     align: "center"
            // },

            // {
            //     label: '拌合机', prop: 'F_MachineId', minWidth: '120px',
            //     align: "center"
            // },

            // {
            //     label: '实际方量', prop: 'F_ActualCalculation', minWidth: '80px',
            //     align: "center"
            // },
            // {
            //     label: '强度等级', prop: 'F_StrengthGrade', minWidth: '80px',
            //     align: "center"
            // },

            // {
            //     label: '预警级别',
            //     prop: 'F_WarningLevel',
            //     minWidth: '100px',
            //     filter: true,
            //     btn: true,
            //     align: "center",
            //     colorName: '',
            //     callback: (rowData) => {
            //         let data = statusType[rowData.F_WarningLevel]
            //         if (data) {

            //             return data.label
            //         }
            //     },
            //     specialClass: (rowData) => {
            //         let data = statusType[rowData.F_WarningLevel]
            //         if (data) {
            //             return data.className
            //         }
            //     }
            // },
            // {
            //     label: '出料时间', prop: 'F_DischargeDates', minWidth: '140px',
            //     align: "center"
            // },
            // {
            //     label: '上传时间', prop: 'F_DischargeDates', minWidth: '140px',
            //     align: "center"
            // },
        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        // operation: {
        //     label: '操作',
        //     width: '100',
        //     detail: true,
        //     cols: [{
        //             label: '查看',
        //             type: 'primary',
        //         },

        //     ]
        // },
    },

    sieveAperture: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        Keyboard: true,
        keyNum: [10, 13],
        thead: [{
            label: '筛孔尺寸(mm)',
            prop: 'fSievediameter',
            minWidth: '90px',
            align: "center",
            edit: false,

        },
        {
            label: '目标级配',
            prop: 'fSievegoal',
            minWidth: '75px',
            align: "center",
            type: 'text',
            disabled: false, //是否禁用
            edit: true,
            column: 1,

        },
        {
            label: '级配上限',
            prop: 'fSieveupper',
            minWidth: '75px',
            align: "center",
            type: 'text',
            disabled: false, //是否禁用
            edit: true,
            column: 2,

        },
        {
            label: '级配下限',
            prop: 'fSievelower',
            minWidth: '75px',
            align: "center",
            type: 'text',
            disabled: false, //是否禁用
            edit: true,
            column: 3,

        },
        {
            label: '级配中值',
            prop: 'fSievemiddle',
            minWidth: '75px',
            align: "center",
            type: 'text',
            disabled: true, //是否禁用
            edit: true,
            column: 3,
        },
        {
            label: '1#仓碎石',
            prop: 'fSieveaggregate1',
            minWidth: '75px',
            align: "center",
            type: 'text',
            disabled: false, //是否禁用
            edit: true,
            column: 4,
        },
        {
            label: '2#仓碎石',
            prop: 'fSieveaggregate2',
            minWidth: '75px',
            align: "center",
            type: 'text',
            disabled: false, //是否禁用
            edit: true,
            column: 5,
        },

        {
            label: '3#仓碎石',
            prop: 'fSieveaggregate3',
            minWidth: '75px',
            align: "center",
            type: 'text',
            disabled: false, //是否禁用
            edit: true,
            column: 6,
        },
        {
            label: '4#仓碎石',
            prop: 'fSieveaggregate4',
            minWidth: '75px',
            align: "center",
            type: 'text',
            disabled: false, //是否禁用
            edit: true,
            column: 7,
        },
        {
            label: '5#仓碎石',
            prop: 'fSieveaggregate5',
            minWidth: '75px',
            align: "center",
            type: 'text',
            disabled: false, //是否禁用
            edit: true,
            column: 8,
        },
        {
            label: '6#仓碎石',
            prop: 'fSieveaggregate6',
            minWidth: '75px',
            align: "center",
            type: 'text',
            disabled: false, //是否禁用
            edit: true,
            column: 9,
        },
        {
            label: '矿粉',
            prop: 'fSievepowder1',
            minWidth: '75px',
            align: "center",
            type: 'text',
            disabled: false, //是否禁用
            edit: true,
            column: 10,
        },


        ],
        isCheckBox: false,
        isIndex: false,
        isOperation: true,
        // 表格操作列

    },
}